﻿using System;

namespace Shared_Mutex_Manager_Test.Locking
{
    /// <summary>
    ///     General Mutex Related event arguments
    /// </summary>
    public class SharedMutexEventArgs : EventArgs
    {
        /// <summary>
        ///     Create a new MutexEventArgs
        /// </summary>
        /// <param name="mutexName"></param>
        public SharedMutexEventArgs(string mutexName)
        {
            this.MutexName = mutexName;
        }

        /// <summary>
        ///     Name of the Mutext this event corresponds to
        /// </summary>
        public string MutexName { get; private set; }
    }
}